/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.velocityme.session;

import com.velocityme.entity.FileAttachment;
import java.io.BufferedInputStream;
import javax.ejb.Local;

/**
 *
 * @author rcrida
 */
@Local
public interface FileAttachmentLocal {

    FileAttachment findFileAttachment(KeyLocal key, String serverName);

    BufferedInputStream getFileAttachmentInputStream(KeyLocal key, FileAttachment fileAttachment);

    long getFileAttachmentLength(KeyLocal key, FileAttachment fileAttachment);
    
}
